Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: Packed reader multi files test #161

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shaoting-huang
Copy link
Collaborator

related: #158

@sre-ci-robot sre-ci-robot requested review from sunby and tedxu January 9, 2025 10:18
@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: shaoting-huang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Comment on lines 45 to 49
cNeedColumns := (*C.int)(C.malloc(C.size_t(len(opt.needColumns)) * C.size_t(unsafe.Sizeof(C.int(0)))))
for i, col := range opt.needColumns {
(*[1<<31 - 1]C.int)(unsafe.Pointer(cNeedColumns))[i] = C.int(col)
}
cNumNeededColumns := C.int(len(opt.needColumns))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too much for my small heart. Can we make it simpler? The needed columns can be just a bitset with several words.

@shaoting-huang shaoting-huang changed the title [feat]: Packed reader partial columns read [feat]: Packed reader multi files test Jan 10, 2025
Signed-off-by: shaoting-huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants